﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using WillBe.Attributes;

namespace Foo.Contract
{
    [WillBeObfuscatingErrors]
    [ServiceContract]
    public interface IFooManager
    {
        [OperationContract]
        void Simple();

        [OperationContract]
        int Basic(int i);

        [WillBeAudited]
        [OperationContract]
        Bar Complex(Bar b, int i);

        [WillBeLoggingErrors]
        [OperationContract]
        int Error();

        [WillBeValidatingPerformanceSla(5)]
        [OperationContract]
        void Wait(int i);
    }
}
